<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title></title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">

		<link rel="stylesheet" href="../../css/mui.min.css">
		<link rel="stylesheet" href="../../css/mui-ext.css">
		<link rel="stylesheet" href="../../css/utils.css">

		<style type="text/css">
			.attcontent{
				margin-top: 5px;
				margin-left: 10px;
				margin-right: 10px;
			}
			
			.attcontent img{
				width: 100%;
			}
		</style>
		<script src="../../js/mui.min.js"></script>
		<script src="../../js/bus/pubfun.js"></script>
		<script src="../../js/utils/http.utils.js"></script>
		<script type="text/javascript">
			var $attId = getQueryString(window.location.search, "attid");
			var $atttitle = getQueryString(decodeURI(window.location.search), "atttitle");
			document.title = $atttitle;
			window.onload = function(){
				getAttDetailById();
			}
			
			function getAttDetailById(){
				mui.ajax({
					url : $request_url.getArticleByInfo,
					type : "get",
					headers: {
						"Authorization": $headers_authorization
					},
					dataType : "json",
					data : {
						id : $attId
					}, 
					success : function(dat){
						if(dat.code == 0){
							if(dat.result != null && dat.result != ""){
								//document.getElementById("chtitle").innerHTML = dat.result.title;
								document.getElementById("attcontent").innerHTML = dat.result.content;
							}
						}
					}, error : function(err){
						
					}
				});
			}
			
			
		</script>
	</head>

	<body style="height: 100%;">
		<div class="mui-content" style="background-color: white; height: 100%;">
			<!--<div style="background: #00A8C6; color: white; text-align: center; height: 30px;">
				<h4 id="chtitle" style="display: block; margin-top: 0px; padding-top: 6px;"></h4>
			</div>-->
			
			<div id="attcontent" class="attcontent">
			
			</div>
		</div>
	</body>

</html>